package cn.edu.scau.cmi.liquan.exercise8.Example8_8;

public class Goods {
     boolean isDanger;
     String name;
     Goods(String name){
    	 this.name=name;
     }
     public void setIsDanger(boolean boo) {
    	 isDanger=boo;
     }
     public boolean isDanger() {
    	 return isDanger;
     }
     public String getName() {
    	 return  name;
     }
}
